﻿@{
    ViewBag.Title = "Home Page";
}
<h1>Welcome to Les Planes</h1>
@if (!String.IsNullOrEmpty(ViewBag.Message))
{
    <div class="alert alert-success">
        @ViewBag.Message
    </div>
}
@using (Html.BeginForm("Search","Home"))
{
    @Html.Label("Source")
    @Html.TextBox("source", "" , new { @class = "form-control" })
    @Html.Label("Destination")
    @Html.TextBox("destination", "" ,new { @class = "form-control" })
    <label>Date</label>
    <input id="" class="form-control" name="date" type="date" />
    <hr />
    <button class="btn btn-primary" type="submit">Search Flight <span class="glyphicon glyphicon-search"></span></button>
}